using System;
using Shpm.System.Db;

namespace Shpm.App.Commons.Db.Beans.Inp
{
    [Serializable()]
    public class InpMessageBean : ShpmBaseBean
    {
        private Nullable<int> messageId;
        private string subject;
        private string message;
        private Nullable<int> messageType;
        private Nullable<DateTime> sendDate;
        private Nullable<bool> replyFlag;
        private Nullable<int> replyMessageId;
        private Nullable<bool> readerHistoryFlag;
        private Nullable<bool> importantFlag;
        private string employeeId;
        private string departId;

        public InpMessageBean()
        {

        }

        public Nullable<int> MessageId
        {
            get
            {
                return messageId;
            }
            set
            {
                messageId = value;
            }
        }

        public string Subject
        {
            get
            {
                return subject;
            }
            set
            {
                subject = value;
            }
        }

        public string Message
        {
            get
            {
                return message;
            }
            set
            {
                message = value;
            }
        }

        public Nullable<int> MessageType
        {
            get
            {
                return messageType;
            }
            set
            {
                messageType = value;
            }
        }

        public Nullable<DateTime> SendDate
        {
            get
            {
                return sendDate;
            }
            set
            {
                sendDate = value;
            }
        }

        public Nullable<bool> ReplyFlag
        {
            get
            {
                return replyFlag;
            }
            set
            {
                replyFlag = value;
            }
        }

        public Nullable<int> ReplyMessageId
        {
            get
            {
                return replyMessageId;
            }
            set
            {
                replyMessageId = value;
            }
        }

        public Nullable<bool> ReaderHistoryFlag
        {
            get
            {
                return readerHistoryFlag;
            }
            set
            {
                readerHistoryFlag = value;
            }
        }

        public Nullable<bool> ImportantFlag
        {
            get
            {
                return importantFlag;
            }
            set
            {
                importantFlag = value;
            }
        }

        public string EmployeeId
        {
            get
            {
                return employeeId;
            }
            set
            {
                employeeId = value;
            }
        }

        public string DepartId
        {
            get
            {
                return departId;
            }
            set
            {
                departId = value;
            }
        }
    }
}